//
//  YDYCyclePhotoView.h
//  DY_Bilibili
//
//  Created by 杨德勇 on 2016/10/8.
//  Copyright © 2016年 杨德勇. All rights reserved.
//

#import <UIKit/UIKit.h>
@class YDYBanner;
@interface YDYCyclePhotoView : UIView
/** 用banner显示 */
@property (nonatomic, strong) NSArray<YDYBanner*> *banners;
/** 要显示的图片数组.里面是图片的URL */
@property (nonatomic, strong) NSArray<NSString *> *photoUrlArray;
/** 滚动间隔 */
@property (nonatomic, assign) NSTimeInterval autoScrollTimeInterval;
/** placeHolderImage */
@property (nonatomic, strong) UIImage *placeHolderImage;

+(YDYCyclePhotoView *)ydyCyclePhotoView:(CGRect)frame placeHolderImage:(UIImage *)placeHolderImage autoScrollTime:(NSTimeInterval)time;
@end
